import ReactDOM from 'react-dom/client'
import store, { persistor } from '@/store'
import { Provider as StoreProvider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'
import App from '@/App.tsx'
import '@/index.css'

ReactDOM.createRoot(document.getElementById('root')!).render(
  <StoreProvider store={store}>
    <PersistGate persistor={persistor}>
      <App />
    </PersistGate>
  </StoreProvider>
)
